<?php

$form_layout=new class_layouted_form();
$form_layout->set_attribute("id","message_layout");

$item=new class_input_text("subject");
$item->desc=("Betreff");
$item->set_attribute("size","40");
$item->initialize();
$form_layout->add_item($item);

$item=new class_input_textarea("message");
$item->desc=("Nachricht");
$item->set_attribute("style","width:500px;height:400px");
$item->initialize();
$form_layout->add_item($item);

$item=new class_input_submit("Senden","Senden");
$form_layout->add_item($item);

$form->add_item($form_layout);

